package com.echoplots.log;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
 * 
Logback：logback-spring.xml, logback-spring.groovy, logback.xml, logback.groovy

Log4j：log4j-spring.properties, log4j-spring.xml, log4j.properties, log4j.xml

Log4j2：log4j2-spring.xml, log4j2.xml

JDK (Java Util Logging)：logging.properties
Spring Boot官方推荐优先使用带有-spring的文件名作为你的日志配置

 *
 */
@SpringBootApplication
@RestController
public class EchoplotsSpringBootLogApplication {

	public static void main(String[] args) {
		SpringApplication.run(EchoplotsSpringBootLogApplication.class, args);
	}

	
	 @RequestMapping("/")
	 String index() {
		 
		 return "hello spring 8boot";
	}
}
